﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace LogModel
{
    [DataContract]
    public class DeviceProductInfo
    {
        [DataMember]
        public int id { get; set; }

        [DataMember]
        public string devCode { get; set; }

        [DataMember]
        public string deviceNo { get; set; }

        [DataMember]
        public DateTime registerTime { get; set; }

        [DataMember]
        public string dwmc { get; set; }

        [DataMember]
        public string ip { get; set; }

        [DataMember]
        public string mac { get; set; }

        public DeviceProductInfo()
        {
            id = 0;
            registerTime = DateTime.Now;
        }
    }
}
